WPDesk\ShopMagicCart\Cart\Cart S

Total Complexity 42
Dependencies 9
Dependents 10
Total lines 305
Lines of code 175
Logical lines of code 104
Comment lines 60
Methods 26
Properties 16

Methods 26

Method Rating Maintainability Complexity Lines of code
calculate_totals()
S
53 5 22
get_status_translated()
S
61 5 13
append_to_wc_cart()
S
59 4 15
sync()
S
52 3 24
normalize()
S
57 2 16
__construct()
S
58 1 15
sync_order()
S
67 2 8
has_changed()
S
79 2 3
get_shipping_total()
S
81 1 3
is_status_abandoned()
S
80 1 3
set_status_abandoned()
S
77 1 4
set_last_inserted_id()
S
81 1 3
get_currency()
S
82 1 3
get_token()
S
82 1 3
get_total()
S
81 1 3
get_shipping_tax_total()
S
81 1 3
get_id()
S
82 1 3
get_fees()
S
82 1 3
get_coupons()
S
82 1 3
map_array_items()
S
74 1 5
get_items()
S
82 1 3
get_created()
S
82 1 3
get_last_modified()
S
82 1 3
get_customer()
S
82 1 3
get_changed_fields()
S
82 1 3
get_products_quantity_count()
S
72 1 5